/*
 * Copyright (c) 2017. All  rights reserved.
 * 项目名：microservice-base
 * 文件名：Role.java
 * Date  ：17-11-20 下午9:59
 * Author：abin
 *
 */

package com.microservice.base.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class Role implements Serializable {

    private static final long serialVersionUID = -6963926424568680378L;

    @JsonProperty("id")
    private String roleId;
    @JsonProperty("text")
    private String roleName;
    private String schoolCode;
    private String systemLevel;
    private String systemCode;
    @JsonIgnore
    private String createUser;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    private String updateUser;
    @JsonIgnore
    private Date updateTime;
    private Boolean permission;
    @JsonIgnore
    private Integer count;
    @JsonIgnore
    private String[] roleAuth;

}